package com.situ.crm.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {
   private Logger logger = LoggerFactory.getLogger(HelloController.class);

    @RequestMapping("/hello")
    public void hello() {
        System.out.println();
        System.err.println();
        logger.debug("debug: hello");
        logger.info("info: hello");
        logger.warn("warn: hello");
        logger.error("error: hello");
        int i = 3 / 0;
    }
}
